<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/product/index" data-params='{"custom[deploy_type]":"9"}' data-field="title" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pinpai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pinpai" data-rule="required" class="form-control" name="row[pinpai]" type="text" value="{$row.pinpai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bili')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bili" data-rule="required" class="form-control" name="row[bili]" type="text" value="{$row.bili|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mianban')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mianban" data-rule="required" class="form-control" name="row[mianban]" type="text" value="{$row.mianban|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bigua')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bigua" class="form-control" name="row[bigua]" type="text" value="{$row.bigua|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chicun')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chicun" class="form-control" name="row[chicun]" type="text" value="{$row.chicun|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dianju')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dianju"  class="form-control" name="row[dianju]" type="text" value="{$row.dianju|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dianyuan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dianyuan" class="form-control" name="row[dianyuan]" type="text" value="{$row.dianyuan|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dizuo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dizuo" class="form-control" name="row[dizuo]" type="text" value="{$row.dizuo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duibi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duibi" class="form-control" name="row[duibi]" type="text" value="{$row.duibi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dp')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-dp" data-rule="required" class="form-control" name="row[dp]" type="text" value="{$row.dp|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[dp]', ['支持'=>__('支持'), '不支持'=>__('不支持')], $row['dp'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dvi')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-dvi" data-rule="required" class="form-control" name="row[dvi]" type="text" value="{$row.dvi|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[dvi]', ['支持'=>__('支持'), '不支持'=>__('不支持')], $row['dvi'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hdmi')}:</label>
       <!-- <div class="col-xs-12 col-sm-8">
            <input id="c-hdmi" data-rule="required" class="form-control" name="row[hdmi]" type="text" value="{$row.hdmi|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[hdmi]', ['支持'=>__('支持'), '不支持'=>__('不支持')], $row['hdmi'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Typec')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-typec" data-rule="required" class="form-control" name="row[typec]" type="text" value="{$row.typec|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[typec]', ['支持'=>__('支持'), '不支持'=>__('不支持')], $row['typec'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Usb')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-usb" data-rule="required" class="form-control" name="row[usb]" type="text" value="{$row.usb|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[usb]', ['支持'=>__('支持'), '不支持'=>__('不支持')], $row['usb'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vga')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-vga" data-rule="required" class="form-control" name="row[vga]" type="text" value="{$row.vga|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[vga]', ['支持'=>__('支持'), '不支持'=>__('不支持')], $row['vga'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fenbian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fenbian" class="form-control" name="row[fenbian]" type="text" value="{$row.fenbian|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hdr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hdr" class="form-control" name="row[hdr]" type="text" value="{$row.hdr|htmlentities}">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-img" data-rule="required" class="form-control" name="row[img]" type="text" value="{$row.img|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiekou')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiekou" class="form-control" name="row[jiekou]" type="text" value="{$row.jiekou|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Leixing')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-leixing" class="form-control" name="row[leixing]" type="text" value="{$row.leixing|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Liangdu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-liangdu" class="form-control" name="row[liangdu]" type="text" value="{$row.liangdu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lwh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lwh" class="form-control" name="row[lwh]" type="text" value="{$row.lwh|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nengxiao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nengxiao" class="form-control" name="row[nengxiao]" type="text" value="{$row.nengxiao|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qulv')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qulv" class="form-control" name="row[qulv]" type="text" value="{$row.qulv|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Seshu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-seshu" class="form-control" name="row[seshu]" type="text" value="{$row.seshu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shouhou')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shouhou" class="form-control" name="row[shouhou]" type="text" value="{$row.shouhou|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shuaxin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shuaxin" class="form-control" name="row[shuaxin]" type="text" value="{$row.shuaxin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Texing')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-texing" class="form-control" name="row[texing]" type="text" value="{$row.texing|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiangying')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiangying" class="form-control" name="row[xiangying]" type="text" value="{$row.xiangying|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yanse')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yanse" class="form-control" name="row[yanse]" type="text" value="{$row.yanse|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yinxiang')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[yinxiang]', ['内置音箱'=>__('内置音箱'), '无内置音箱'=>__('无内置音箱')], $row['yinxiang'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhongliang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhongliang" class="form-control" name="row[zhongliang]" type="text" value="{$row.zhongliang|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-img" data-rule="required" class="form-control" size="50" name="row[img]" type="text" value="{$row.img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-img" class="btn btn-danger faupload" data-input-id="c-img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-img" class="btn btn-primary fachoose" data-input-id="c-img" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
